package com.fivefu.core.camera.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 事件报表
 * </p>
 *
 * @author 
 * @since 2022-09-26 17:04:37
 */
@TableName("db_monitor_event_report_form")
@ApiModel(value = "DbMonitorEventReportForm对象", description = "事件报表")
public class DbMonitorEventReportForm {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("是否删除0否1是")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("年份")
    @TableField("`year`")
    private Long year;

    @ApiModelProperty("月份")
    @TableField("`month`")
    private Long month;

    @ApiModelProperty("场景编号")
    private String sceneCode;

    @ApiModelProperty("事件总数")
    private Long totalNum;

    @ApiModelProperty("审核事件数量")
    private Long examineNum;

    @ApiModelProperty("合格数量")
    private Long successNum;

    @ApiModelProperty("不合格数量")
    private Long failNum;

    @ApiModelProperty("识别正确率")
    private BigDecimal successRate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getYear() {
        return year;
    }

    public void setYear(Long year) {
        this.year = year;
    }

    public Long getMonth() {
        return month;
    }

    public void setMonth(Long month) {
        this.month = month;
    }

    public String getSceneCode() {
        return sceneCode;
    }

    public void setSceneCode(String sceneCode) {
        this.sceneCode = sceneCode;
    }

    public Long getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Long totalNum) {
        this.totalNum = totalNum;
    }

    public Long getExamineNum() {
        return examineNum;
    }

    public void setExamineNum(Long examineNum) {
        this.examineNum = examineNum;
    }

    public Long getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Long successNum) {
        this.successNum = successNum;
    }

    public Long getFailNum() {
        return failNum;
    }

    public void setFailNum(Long failNum) {
        this.failNum = failNum;
    }

    public BigDecimal getSuccessRate() {
        return successRate;
    }

    public void setSuccessRate(BigDecimal successRate) {
        this.successRate = successRate;
    }

    @Override
    public String toString() {
        return "DbMonitorEventReportForm{" +
        "id=" + id +
        ", isDelete=" + isDelete +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        ", remark=" + remark +
        ", year=" + year +
        ", month=" + month +
        ", sceneCode=" + sceneCode +
        ", totalNum=" + totalNum +
        ", examineNum=" + examineNum +
        ", successNum=" + successNum +
        ", failNum=" + failNum +
        ", successRate=" + successRate +
        "}";
    }
}
